package org.jeecg.common.modules.questions.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 题库新
 * @Author: jeecg-boot
 * @Date:   2022-02-09
 * @Version: V1.0
 */
@Data
@TableName("question_all")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="question_all对象", description="题库新")
public class QuestionAll implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**题号*/
	@Excel(name = "题号", width = 15)
    @ApiModelProperty(value = "题号")
    private String questionNumber;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String title;
	/**问卷描述*/
	@Excel(name = "问卷描述", width = 15)
    @ApiModelProperty(value = "问卷描述")
    private String templateDescribe;
	/**父id*/
	@Excel(name = "父id", width = 15)
    @ApiModelProperty(value = "父id")
    private String parentId;
    /**templateId*/
    @Excel(name = "templateId", width = 15)
    @ApiModelProperty(value = "templateId")
    private String templateId;
	/**类型模板、问题、答案 */
	@Excel(name = "类型模板、问题、答案 ", width = 15)
    @ApiModelProperty(value = "类型模板、问题、答案 ")
    private String type;
	/**标签*/
	@Excel(name = "标签", width = 15)
    @ApiModelProperty(value = "标签")
    private String labelName;
	/**模板类型*/
	@Excel(name = "模板类型", width = 15)
    @ApiModelProperty(value = "模板类型")
    private String templateType;
	/**答卷次数*/
	@Excel(name = "答卷次数", width = 15)
    @ApiModelProperty(value = "答卷次数")
    private Integer count;
	/**发布*/
	@Excel(name = "发布", width = 15)
    @ApiModelProperty(value = "发布")
    private String isRelease;
	/**发布时间*/
	@Excel(name = "发布时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "发布时间")
    private Date releaseTime;
	/**必答题*/
	@Excel(name = "必答题", width = 15)
    @ApiModelProperty(value = "必答题")
    private String isWillAnswer;
	/**是否显示序号*/
	@Excel(name = "是否显示序号", width = 15)
    @ApiModelProperty(value = "是否显示序号")
    private String isShowNumber;
	/**默认文本*/
	@Excel(name = "默认文本", width = 15)
    @ApiModelProperty(value = "默认文本")
    private String defaultText;
	/**格式限制*/
	@Excel(name = "格式限制", width = 15)
    @ApiModelProperty(value = "格式限制")
    private String formatLimit;
	/**最小字数*/
	@Excel(name = "最小字数", width = 15)
    @ApiModelProperty(value = "最小字数")
    private Integer minWords;
	/**最多字数*/
	@Excel(name = "最多字数", width = 15)
    @ApiModelProperty(value = "最多字数")
    private Integer maxWords;
	/**默认跳转下一题*/
	@Excel(name = "默认跳转下一题", width = 15)
    @ApiModelProperty(value = "默认跳转下一题")
    private Integer jumpQuestion;
	/**删除*/
	@Excel(name = "删除", width = 15)
    @ApiModelProperty(value = "删除")
    private String invalid;
    /**问题1 无答案，2有答案 ，3其他 */
    @Excel(name = "问题2 无答案，1有答案 ，3其他", width = 15)
    @ApiModelProperty(value = "问题2无答案，1有答案 ，3其他 ")
    private String questionType;
    /**限制条件*/
    @Excel(name = "限制条件", width = 15)
    @ApiModelProperty(value = "限制条件")
    private String limitSex;
    /**是否最后一题*/
    @Excel(name = "是否最后一题", width = 15)
    @ApiModelProperty(value = "是否最后一题")
    private String isEnd;
}
